@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}


// 医美的样式
.fixHeight {
  min-height: 400px;
  height: calc(100vh - 80px);
  .el-scrollbar__wrap {
    overflow-x: hidden;
  }
}
.el-popover {
  box-sizing: border-box;
  min-width: 60px;
  padding: 0;
}
.popover {
  width: 60px;
  border-radius: 4px;
  .item {
    cursor: pointer;
    box-sizing: border-box;
    padding-left: 10px;
    width: 60px;
    height: 36px;
    line-height: 36px;
    font-size: 12px;
    color: #8998ac;
    &:hover {
      background: #f0f3f7;
    }
  }
}
.webview {
  padding: 20px;
  overflow: hidden;
  .bgGrey{
    background: #efefef;
    width:99px;
    height:99px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0 auto;
    img{
      width:100%;
    }
  }
  .el-tag + .el-tag {
    margin-left: 10px;
  }
  .button-new-tag {
    margin-left: 10px;
    height: 32px;
    line-height: 30px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .input-new-tag {
    width: 90px;
    margin-left: 10px;
    vertical-align: bottom;
  }
  .picList {
    .itemNo{
      border:none !important;
    }
    .item {
      position: relative;
      overflow: hidden;
      background-color: #fff;
      border: 1px solid #c0ccda;
      border-radius: 6px;
      box-sizing: border-box;
      width: 148px;
      height: 148px;
      margin: 0 8px 8px 0;
      display: inline-block;
      .delIcon {
        position: absolute;
        right: 0;
        top: 0;
        font-size: 25px;
      }
      .pic {
        width: 100%;
      }
    }
  }
  .hand{
    cursor: pointer;
  }
  .form{
    width:460px;
  }
  .all {
    margin-left: 14px;
  }
  .more {
    margin-left: 20px;
    margin-right: 200px;
  }
  .moreDo {
    background: #ffffff;
    border: 1px solid #f0f3f7;
    box-shadow: 0 2px 4px 0 #eff2f7;
    border-radius: 4px;
    font-size: 12px;
    color: #999999;
  }
  .popover {
    width: 60px;
    border-radius: 4px;
    .item {
      cursor: pointer;
      box-sizing: border-box;
      padding-left: 10px;
      width: 60px;
      height: 36px;
      line-height: 36px;
      font-size: 12px;
      color: #8998ac;
      &:hover {
        background: #f0f3f7;
      }
    }
  }
  .pageContain {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .search-btn {
    background: #00a95c;
    box-shadow: 0 5px 20px 0 rgba(0, 169, 92, 0.2);
    border-radius: 21px;
    width: 108px;
    height: 36px;
  }
  .reset-btn {
    background: #f9fafc;
    border: 1px solid #aeb9ca;
    border-radius: 21px;
    width: 108px;
    height: 36px;
  }
  .padding-bottom {
    padding-bottom: 20px;
  }
  .margin-left {
    margin-left: 20px;
  }
  .margin-top {
    margin-top: 20px;
  }
  .margin-right {
    margin-right: 20px;
  }
  .margin-bottom {
    margin-bottm: 20px;
  }
  .input {
    width: 234px;
    height: 36px;
  }
  .search {
    background: #ffffff;
    box-shadow: 0 2px 4px 0 #eff2f7;
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
    .content {
      background: rgba(249, 252, 251, 0.7);
      border: 1px solid #f0f3f7;
      border-radius: 4px;
      margin: 0 auto;
      display: flex;
      padding-top: 30px;
      padding-bottom: 30px;
      .part1 {
        display: flex;
        flex-wrap: wrap;
        line-height: 60px;
        .searchItem {
          margin-left: 15px;
        }
        .item {
          min-width: 200px;
          padding-right: 15px;
          .name {
            padding-left: 15px;
            display: inline-block;
            width: 80px;
            color: #606266;
            font-size: 14px;
          }
        }
      }
    }
  }
  .table {
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    box-shadow: 0 2px 4px 0 #eff2f7;
    border-radius: 10px;
  }
}
